StoreEngine\Ajax\Checkout C

Total Complexity 105
Dependencies 19
Dependents 1
Total lines 933
Lines of code 692
Logical lines of code 320
Comment lines 94
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
refund()
C
32 27 89
validate_checkout_data()
A
43 11 48
place_order()
A
38 8 71
pay_order()
A
48 9 32
add_product()
A
43 6 49
__construct()
S
37 1 100
set_checkout_data()
S
47 4 35
create_customer()
S
49 4 33
create_or_update_customer()
S
51 4 27
change_subscription()
S
53 4 23
add_tax()
S
54 4 20
update_checkout()
S
49 3 31
prepare_order_data()
S
45 2 42
add_fee()
S
57 3 16
direct_checkout()
S
60 3 13
get_states()
S
62 3 11
prepare_purchase_items_data()
S
56 2 19
apply_coupon()
S
61 2 12
update_coupon_usage()
S
67 2 7
subscribe_to_email()
S
69 2 7
refresh_cart()
S
68 1 7